package com.example.springboot;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Springboot程序入口
 * <p> 参考 本项目带的README.md文件
 *      1. 简单测试web请求 ,
 *      2. 过滤器 ,
 *      3. 拦截器 ,
 *      4. 全局异常 ,
 *      5. web容器修改 tomcat -> undertow .
 * <p>
 * @author Zhang.Z
 * @version 2025-09-20
 */
@SpringBootApplication
public class WebApplication {

    private static final Logger logger = LoggerFactory.getLogger(WebApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
        logger.info("start ...");
    }
}
